//
//  PrefixHeader.h
//  Sewage
//
//  Created by 优聚泰元 on 2017/6/2.
//  Copyright © 2017年 宗庆猛. All rights reserved.
//

#ifndef PrefixHeader_h
#define PrefixHeader_h

#import <Masonry.h>
/*
 * 通过RGB创建UIColor
 */
#define RGBCOLOR(r,g,b) [UIColor colorWithRed:(r)/255.0f green:(g)/255.0f blue:(b)/255.0f alpha:1]
//http://153sc38537.iok.la/sewage_api/v1/getRegisterCode
//#define kUicpsServerUrl @"http://192.168.0.19:8080/sewage_api"//测试
#define kUicpsServerUrl @"http://192.168.0.212:8080/sewage_api"//测试
//#define kUicpsServerUrl @"http://153sc38537.iok.la/sewage_api"//远程测试

// 请求短信验证码 注册 
#define kGetSmsValidateCodeUrl [NSString stringWithFormat:@"%@/v1/getRegisterCode", kUicpsServerUrl]

//  注册
#define kRegisterUrl [NSString stringWithFormat:@"%@/v1/register", kUicpsServerUrl]
// 请求用户登录
#define kGetUserLoginUrl [NSString stringWithFormat:@"%@/v1/login", kUicpsServerUrl]

// 重置密码
#define kResetPwdUrl [NSString stringWithFormat:@"%@/v1/resetPwd", kUicpsServerUrl]
// 获取短信验证码---重置密码
#define kThroughSmsToResetPwdUrl [NSString stringWithFormat:@"%@/v1/getResetPwdCode", kUicpsServerUrl]



// 查询首页banner
#define kGetBannerUrl [NSString stringWithFormat:@"%@/v1/queryCurrentAreaBanners", kUicpsServerUrl]

#define kGetHomeGrabOrdersUrl [NSString stringWithFormat:@"%@/api/v1/loadTaskList", kUicpsServerUrl]

#define kGrabTaskUrl [NSString stringWithFormat:@"%@/api/v1/grabTask", kUicpsServerUrl]

#define kTaskDetailByIdUrl [NSString stringWithFormat:@"%@/api/v1/loadTaskDetailById", kUicpsServerUrl]

//任务模块
#define kTaskListByUserIdUrl [NSString stringWithFormat:@"%@/api/v1/loadUserTaskList", kUicpsServerUrl]

#define kQuitTaskUrl [NSString stringWithFormat:@"%@/api/v1/giveUpTask", kUicpsServerUrl]
//loadTaskDetailById？？？
#define kExamineTaskDetailUrl [NSString stringWithFormat:@"%@/api/v1/loadUserTaskDetailById", kUicpsServerUrl]

#define kRoutingInspectionUrl [NSString stringWithFormat:@"%@/api/v1/routingInspection", kUicpsServerUrl]


#endif /* PrefixHeader_h */

